#include "ShopItem.h"

void ShopItem::purchase() {
    if( shop->spendMoney( price() ) ) {
        effect();
    }
}
